Automattic\Jetpack\Connection\SSO D

Total Complexity 132
Dependencies 18
Dependents 1
Total lines 1,249
Lines of code 733
Logical lines of code 317
Comment lines 383
Methods 35
Properties 2

Methods 35

Method Rating Maintainability Complexity Lines of code
handle_login()
D
27
29 151
login_init()
A
46 12 37
login_form()
A
39 9 77
__construct()
S
50 6 28
save_cookies()
S
53 6 20
clear_cookies_after_login()
S
50 4 36
login_body_class()
S
61 5 13
get_sso_url_or_die()
S
52 4 26
build_reauth_and_sso_url()
S
52 4 25
request_initial_nonce()
S
53 4 23
store_wpcom_profile_cookies_on_logout()
S
50 3 34
maybe_authorize_user_after_sso()
S
55 4 17
sso_reminder_logout_wpcom()
S
56 3 20
wants_to_login()
S
64 4 9
build_sso_url()
S
59 3 14
display_sso_login_form()
S
59 3 14
register_settings()
S
52 1 32
xmlrpc_user_disconnect()
S
57 2 17
login_enqueue_scripts()
S
60 2 15
build_sso_button()
S
61 2 13
get_user_by_wpcom_id()
S
63 2 11
get_instance()
S
69 2 7
maybe_logout_user()
S
64 2 10
build_sso_button_url()
S
63 2 10
validate_jetpack_sso_match_by_email()
S
78 2 3
disconnect()
S
74 2 5
validate_jetpack_sso_require_two_step()
S
78 2 3
print_inline_admin_css()
S
73 1 14
render_require_two_step()
S
64 1 13
render_match_by_email()
S
64 1 13
profile_page_url()
S
80 1 3
xmlrpc_methods()
S
75 1 4
sync_sso_callables()
S
63 1 10
is_user_connected()
S
80 1 3
get_user_data()
S
79 1 3